Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: replace setup.py with pyproject.toml #1634

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

joaoandre-avaiga
Copy link
Collaborator

No description provided.

toan-quach
toan-quach previously approved these changes Aug 5, 2024
Copy link
Member

@toan-quach toan-quach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :D

FabienLelaquais
FabienLelaquais previously approved these changes Aug 5, 2024
Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's really cool!
Make sure my two comments are addressed though.

[tool.setuptools]
zip-safe = false

[tool.setuptools.package-data]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the 'taipy/gui/viselements.json' file that is mandatory.
Maybe somewhere else?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just put the same files that were referenced in setup.py. Which was only the version.json.

    data_files=[("version", ["version.json"])],

We do however have viselements.json from gui and gui_core on the respective MANIFEST.in files for taipy-gui and taipy.

[tool.setuptools.packages.find]
include = ["taipy", "taipy.*"]

[tool.setuptools.package-data]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the 'taipy/gui_core/viselements.json' file that is mandatory.
Maybe somewhere else?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be included by the manifest.in file

dinhlongviolin1
dinhlongviolin1 previously approved these changes Aug 5, 2024
Copy link
Member

@dinhlongviolin1 dinhlongviolin1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

github-actions bot commented Aug 5, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
19143 16240 85% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 75c915e by action🐍

@joaoandre-avaiga joaoandre-avaiga force-pushed the feature/add-pyproject branch 6 times, most recently from 5796a50 to 60f654d Compare August 7, 2024 00:51
@joaoandre-avaiga joaoandre-avaiga merged commit e2bd93a into develop Aug 13, 2024
67 of 68 checks passed
@joaoandre-avaiga joaoandre-avaiga deleted the feature/add-pyproject branch August 13, 2024 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants